LWS\WOOREWARDS\Core\Sponsorship C

Total Complexity 110
Dependencies 5
Dependents 5
Total lines 459
Lines of code 327
Logical lines of code 204
Comment lines 57
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
getUsersFromOrder()
C
38 26 63
addRelationship()
A
44 15 37
getCurrentUsers()
A
46 14 39
onCustomerRegister()
S
50 7 26
forceUserSponsor()
S
54 6 20
isEligible()
S
59 6 11
getCurrentReferral()
S
61 5 11
userCan()
S
61 5 11
getSponsorIdFor()
S
57 4 17
guessSponsoredLanguage()
S
62 4 12
setCurrentReferral()
S
60 4 12
createReward()
S
53 3 21
getSponsorFor()
S
66 3 8
register()
S
62 2 10
getReferralKeys()
S
69 1 7
clearCurrentReferral()
S
66 1 8
legacySaveOrderSponsor()
S
82 1 3
saveOrderSponsor()
S
73 1 5
getOrderCountByEMail()
S
77 1 3
getOrderCountById()
S
77 1 3